package edu.hawaii.jmotif.sequitur.model;

public class SequiturMessage {

  public static final String DATA_FNAME = "data_file_name";
  public static final String STATUS_MESSAGE = "status_message";
  public static final String CHART_MESSAGE = "chart_message";
  public static final String MAIN_CHART_CLICKED_MESSAGE = "main_chart_clicked_message";

  private String type;
  private Object payload;

  public SequiturMessage(String messageType, Object payload) {
    this.type = messageType;
    this.payload = payload;
  }

  public Object getPayload() {
    return payload;
  }

  public void setPayload(Object payload) {
    this.payload = payload;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

}
